<template>
	<view class="content" :style="'background:#F7F7F7'">
		<view class="listindex" :style="'background:#FFFFFF;'">
			<view class="moneytext">
				<view class="font34 fontw500" :style="'color:#111111;'">当前余额</view>
				<view @click="goToWithdrawalList" class="font28" :style="'color:#7c7c7c;'">收支明细</view>
			</view>
			<view class="moneynumber fontw font72" :style="'color:#111111;border-bottom:2rpx solid #ebebeb;'">
				<text class="font36">￥</text>{{money}}
			</view>
			<text class="withdrawalfunction font34 fontw500" :style="'color:#111111;'">提现方式</text>
			<view class="widthdrawalmethodindex">
				<view class="itm1" :style="'border-color:#E9564F;'">
					<image class="lefttop" src="../../../static/redmoneywithdrawal.png" mode=""></image>
					<image class="wxicon" src="../../../static/wxicon.png" mode=""></image>
					<text class="font28" :style="'color:#111111;'">微信</text>
				</view>
			</view>
		</view>
		<view class="moneylist" :style="'background:#FFFFFF;'">
			<view class="moneytext">
				<view class="font34 fontw500" :style="'color:#111111;'">提现金额</view>
				<view class="font28" @click="goTowithdrawalRule" :style="'color:#7c7c7c;'">提现说明</view>
			</view>
			<view class="itemindex">
				<block v-for="(item, index) in withdrawarlList" :key="index">
					<view class="itm1" @click="changewithdrawal(item.id,item)" :style="(withdrawarlId == item.id?'border-color:#E9564F;':'border-color:#E2E2E2;')">
						<image v-if="withdrawarlId == item.id" class="lefttop" src="../../../static/redmoneywithdrawal.png" mode=""></image>
						<text class="font44 fontw" style="margin-bottom: 23rpx;" :style="'color:#111111;'">{{item.money}}元</text>
						<text class="font24" v-if="item.is_cash_amount_limit == 1" :style="'color:#AEAEAE;'">提现次数{{item.member_cash_amount}}/{{item.cash_amount}}次</text>
						<text class="font24" v-if="item.is_cash_amount_limit != 1" :style="'color:#AEAEAE;'">无限次数</text>
						<text class="font24" v-if="item.is_advert == 1" :style="'color:#AEAEAE;'">需看广告{{item.advert_amount}}次({{item.member_cash_advert}}/{{item.advert_amount}})</text>
						<text class="font24" v-if="item.is_sign == 1" :style="'color:#AEAEAE;'">需连续签到{{item.sign_day}}天({{item.member_sign_days}}/{{item.sign_day}})</text>
						<text class="font24" v-if="item.is_invite == 1" :style="'color:#AEAEAE;'">需邀请{{item.invite_amount}}人({{item.invite_member_total}}/{{item.invite_amount}})</text>
						<text class="font24" v-if="item.is_keyword == 1" :style="'color:#AEAEAE;'">需要口令</text>
					</view>
				</block>
			</view>
		</view>
		<view class="postbtn" @click="postBefore" :style="'background:#E9564F'">
			<text class="font34" :style="'z-index:1;color:#FFFFFF;'">立即提现</text>
		</view>
		<uni-popup ref="widthdrawalSuccessPopup" type="center" :maskClick="false">
			<view class="publicpopup">
				<image class="closeAssistant" @click="$refs.widthdrawalSuccessPopup.close()" src="../../../static/popuplutteryAssistantClose.png" mode=""></image>
				<image class="bgimgpublic" style="z-index: 0;" src="../../../static/luttery-start-bgimg.png" mode="widthFix"></image>
				<view class="success-popup">
					<text class="start-top-text font36 fontw" :style="'color:#E9564F;'">提现成功</text>
					<text class="font30 tip-text" :style="'color:#7c7c7c;'">请耐心等待审核~</text>
					<image class="success-image-css" src="../../../static/withdrawal_success.png" mode=""></image>
				</view>
			</view>
		</uni-popup>
		<uni-popup ref="postqrcode" type="center">
			<view class="loadexchagepopup" :style="'background:'+publicTextColor.app_theme_color+';'">
				<view class="exchagetop" :style="'background:'+publicTextColor.app_border_color+';'">
					<image @click="$refs.postqrcode.close()" class="closepopup" :src="publicimg.btn_close" mode=""></image>
					<text class="font36" :style="'margin-top:28rpx;z-index:1;color:'+publicTextColor.font_1st_color+';'">请上传您的收款二维码</text>
				</view>
				<image class="uploadqr" :style="'border-color:'+publicTextColor.font_3rd_color+';'" @click="uploadqucodefunction" :src="uploadimage" mode=""></image>
				<view class="btnlist">
					<view class="btn" @click="beforePostWithdrawar">
						<image class="bgimgpublic" style="z-index: 0;" :src="publicimg.btn_sm_warm" mode=""></image>
						<text class="font30" :style="'z-index:1;color:'+publicTextColor.font_1st_color+';'">确定</text>
					</view>
				</view>
			</view>
		</uni-popup>
		<uni-popup ref="keywordspopup" type="center" :maskClick="false">
			<view class="publicpopup">
				<image class="closeAssistant" @click="$refs.keywordspopup.close()" src="../../../static/popuplutteryAssistantClose.png" mode=""></image>
				<image class="bgimgpublic" style="z-index: 0;" src="../../../static/luttery-start-bgimg.png" mode="widthFix"></image>
				<view class="start-luttery-index">
					<text class="start-top-text font36 fontw" :style="'color:#E9564F;'">请输入提现口令</text>
					<view class="get-opportunity">
						<text class="font30" :style="'color:#7c7c7c;'">点击添加客服了解如何获得口令</text>
						<image class="" src="../../../static/neck-bload.png" mode=""></image>
					</view>
					<input class="input-key" :style="'color:#111111;background:#f5f5f5;'" placeholder="请输入口令" :placeholder-style="'color:#111111;'" type="text" :value="keyword" @input="inputKeywords" />
					<view class="notice-btn-list">
						<view class="btn-item1 btn-item-margin" @click="postWithdrawar">
							<image class="btn-item1-css" src="../../../static/small-btn.png" mode=""></image>
							<text class="btn-text font34" :style="'color:#FFFFFF;'">使用并提现</text>
						</view>
						<view class="btn-item1" :style="'border: 2rpx solid #E9564F;'" @click="$refs.keyWidthdrawalPopup.open()">
							<text class="btn-text font34" :style="'color:#E9564F;'">取消</text>
						</view>
					</view>
				</view>
			</view>
		</uni-popup>
		<uni-popup ref="keyWidthdrawalPopup" type="center" :maskClick="false">
			<view class="publicpopup">
				<image class="closeAssistant" @click="$refs.keyWidthdrawalPopup.close()" src="../../../static/popuplutteryAssistantClose.png" mode=""></image>
				<image class="bgimgpublic" style="z-index: 0;" src="../../../static/luttery-start-bgimg.png" mode="widthFix"></image>
				<view class="start-luttery-index">
					<text class="start-top-text font36 fontw" :style="'color:#E9564F;'">口令错误</text>
					<view class="get-opportunity-file">
						<text class="font30" :style="'color:#7c7c7c;'">联系客服获取正确口令哦~</text>
					</view>
					<image class="file-key-image-css" src="../../../static/start-key-file.png" mode=""></image>
					<view class="public-btn" @click="againInput">
						<image class="medium-btn-css" src="../../../static/medium-btn.png" mode=""></image>
						<text class="btn-text font34" :style="'color:#FFFFFF;'">重新输入</text>
					</view>
				</view>
			</view>
		</uni-popup>
		<uni-popup ref="widthdrawalConditionPopup" type="center" :maskClick="false">
			<view class="publicpopup">
				<image class="closeAssistant" @click="$refs.widthdrawalConditionPopup.close()" src="../../../static/popuplutteryAssistantClose.png" mode=""></image>
				<image class="bgimgpublic" style="z-index: 0;" src="../../../static/luttery-start-bgimg.png" mode="widthFix"></image>
				<view class="start-luttery-index">
					<text class="start-top-text font36 fontw" :style="'color:#E9564F;'">条件未满足</text>
					<view class="get-opportunity-file">
						<text class="font30" :style="'color:#7c7c7c;'">很抱歉，您当前没有达成提现条件~</text>
					</view>
					<image class="file-Condition-no-image-css" src="../../../static/Condition-no.png" mode=""></image>
					<view class="public-btn" v-if="is_video_or_share == 0" @click="lookAdVideo(this.withdrawalitem)">
						<image class="medium-btn-css" src="../../../static/medium-btn.png" mode=""></image>
						<text class="btn-text font34" :style="'color:#FFFFFF;'">看视频</text>
					</view>
					<button class="public-btn" v-if="is_video_or_share == 1">
						<image class="medium-btn-css" src="../../../static/medium-btn.png" mode=""></image>
						<text class="btn-text font34" :style="'color:#FFFFFF;'">去邀请</text>
					</button>
				</view>
			</view>
		</uni-popup>
		<uni-popup ref="moneyInsufficientPopup" type="center" :maskClick="false">
			<view class="publicpopup">
				<image class="closeAssistant" @click="$refs.moneyInsufficientPopup.close()" src="../../../static/popuplutteryAssistantClose.png" mode=""></image>
				<image class="bgimgpublic" style="z-index: 0;" src="../../../static/luttery-start-bgimg.png" mode="widthFix"></image>
				<view class="start-luttery-index">
					<text class="start-top-text font36 fontw" :style="'color:#E9564F;'">余额不足</text>
					<view class="get-opportunity-file">
						<text class="font30" :style="'color:#7c7c7c;'">快去参与抽奖获得更多现金红包吧~</text>
					</view>
					<image class="file-Insufficient-no-image-css" src="../../../static/moneyInsufficientPopup.png" mode=""></image>
					<view class="public-btn" @click="$refs.moneyInsufficientPopup.close()">
						<image class="medium-btn-css" src="../../../static/medium-btn.png" mode=""></image>
						<text class="btn-text font34" :style="'color:#FFFFFF;'">现在就去</text>
					</view>
				</view>
			</view>
		</uni-popup>
	</view>
</template>

<script>
	var util = require('@/js/util.js')
	export default {
		data() {
			return {
				publicTextColor:'',
				publicimg:'',
				zhuangtai:0,
				withdrawarlId:0,
				withdrawarlList:[],
				money:0,
				publicimg:'',
				desc:"",
				aditemId:0,
				withdrawalitem:'',
				uploadimage:"../../../static/uoload.png",
				imgurl:"",
				appConfig:'',
				keyword:'',
				is_video_or_share:0,
			};
		},
		onShow() {
			this.getWithdraralList()
			let that = this
			let aniosgaodu = 0
			uni.getSystemInfo({
				success: function(res) {
					console.log(res);
					that.zhuangtai = res.statusBarHeight;
					var a = res.model.split(' ');
					if (a[0] == 'iPhone') {
						aniosgaodu = 44;
					} else {
						aniosgaodu = 48;
					}
					that.zhuangtai = parseInt(that.zhuangtai)+4
					console.log(that.zhuangtai)
				}
			});
		},
		onLoad() {
			this.setcolorConfig()
		},
		methods:{
			againInput(){
				this.$refs.keyWidthdrawalPopup.close()
				this.$refs.keywordspopup.open()
			},
			goTowithdrawalRule(){
				uni.navigateTo({
					url:'lutteryWithdrawalRule'
				})
			},
			uploadqucodefunction(){
				let _self = this
				uni.chooseImage({
				    count: 1, //默认9
				    sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图，默认二者都有
				    sourceType: ['album'], //从相册选择
				    success: function (res) {
						console.log("123",res.tempFilePaths)
						_self.uploadimage = res.tempFilePaths[0]
						uni.showLoading({
							mask:true
						})
						uni.uploadFile({
							url: util.getUrl("common/upload"), //仅为示例，非真实的接口地址
							filePath: res.tempFilePaths[0],
							name: 'file',
							formData: {
								name: res.tempFilePaths[0]
							},
							header: {
								'content-type': 'multipart/form-data',
								'Authori-zation':uni.getStorageSync("token")
							},
							success: (uploadFileRes) => {
								console.log("1234",JSON.parse(uploadFileRes.data));
								let linshi = JSON.parse(uploadFileRes.data)
								_self.imgurl = linshi.data
								console.log(_self.uploadimage)
								uni.hideLoading()
							},
							fail: (err) => {
								uni.hideLoading()
								uni.showToast({
									icon: 'none',
									title: err,
									duration: 5000
								})
							}
						});
				    }
				});
			},
			inputKeywords(e){
				this.keyword = e.detail.value
			},
			beforePostWithdrawar(){
				if(this.withdrawalitem.is_keyword == 1){
					this.$refs.postqrcode.close()
					this.$refs.keywordspopup.open()
				}else{
					this.postWithdrawar()
				}
			},
			postWithdrawar(){
				let _self = this
				uni.request({
					url: util.getUrl("cash/create"),
					header: {
						'content-type': 'application/x-www-form-urlencoded',
						'Authori-zation':uni.getStorageSync("token")
					},
					data:{
						cash_money_id:_self.withdrawarlId,
						account_qrcode:_self.imgurl,
						keyword:_self.keyword
					},
					method: 'POST',
					success: res => {
						if(res.data.code == 1){
							_self.withdrawarlId = -1
							_self.$refs.keywordspopup.close()
							_self.$refs.postqrcode.close()
							_self.$refs.widthdrawalSuccessPopup.open()
							_self.getWithdraralList()
						}else{
							_self.$refs.keywordspopup.close()
							_self.$refs.keyWidthdrawalPopup.open()
						}
					},
				});
			},
			goToWithdrawalList(){
				uni.navigateTo({
					url:'lutteryWithdrawalList'
				})
			},
			postBefore(){
				if(this.withdrawalitem.is_account_qrcode == 1){
					this.$refs.postqrcode.open()
				}else{
					this.beforePostWithdrawar()
				}
			},
			getWithdraralList(){
				let _self = this
				uni.request({
					url: util.getUrl("cash/index"),
					header: {
						'content-type': 'application/x-www-form-urlencoded',
						'Authori-zation':uni.getStorageSync("token")
					},
					data:{
					},
					method: 'POST',
					success: res => {
						if(res.data.code == 1){
							_self.money = res.data.data.money
							_self.withdrawarlList = res.data.data.cash_money_list
							_self.desc = res.data.data.cash_desc
						}
					},
				});
			},
			changewithdrawal(id,item){
				let _self = this
				_self.withdrawalitem = item
				if(_self.money > item.money){
					if(item.is_advert == 1 && item.member_cash_advert<item.advert_amount ){
						_self.is_video_or_share = 0
						_self.aditemId = item.id
						_self.$refs.widthdrawalConditionPopup.open()
					}else if(item.is_invite == 1 && item.invite_member_total<item.invite_amount){
						uni.showModal({
							title:'提示',
							content:"未满足条件",
							confirmText:"去邀请",
							success: (res) => {
								if(res.confirm){
									uni.navigateTo({
										url:'posterIndex'
									})
								}
							}
						})
					}else if(item.is_sign == 1 && item.member_sign_days<item.sign_day){
						uni.showModal({
							title:'提示',
							content:"未满足条件",
							confirmText:"去签到",
							success: (res) => {
								if(res.confirm){
									uni.switchTab({
										url:'../../pages/task/index'
									})
								}
							}
						})
					}else{
						this.withdrawarlId = id
					}
				}else{
					_self.$refs.moneyInsufficientPopup.open()
				}
			},
			lookAdVideo(item){
				let _self = this
				if(_self.openVideo == null){
					_self.openVideo = uni.createRewardedVideoAd({
						adUnitId:item.rewarded_ad_unit,
					})
					_self.openVideo.load((resLoad)=>{
						console.log("adload",resLoad)
					})
					_self.openVideo.onError(function(eError){
						console.log("eError",eError)
					})
					_self.openVideo.onClose((res)=>{
						if(res && res.isEnded){
							_self.postAdVidepNumber()
						}
					})
				}
				uni.showModal({
					title: '提示',
					content: '观看视频以继续' ,
					success: function (res) {
						if (res.confirm) {
							console.log('用户点击确定');
							_self.openVideo.show()
								.catch(() => {
									_self.openVideo.load()
										.then(() => {
											_self.openVideo.show()
										})
										.catch(err => {
											console.log('激励视频 广告显示失败')
											_self.active = false
											uni.showToast({
												title: '暂无激励视频',
												icon: 'none',
												duration: 2000
											});
										})
								})
							// ^视频显示
						} else if (res.cancel) {
							console.log('用户点击取消');
						}
					}
				});
			},
			postAdVidepNumber(){
				let _self = this
				uni.request({
					url: util.getUrl("cash/reward_ad"),
					header: {
						'content-type': 'application/x-www-form-urlencoded',
						'Authori-zation':uni.getStorageSync("token")
					},
					data:{
						cash_money_id:_self.aditemId
					},
					method: 'POST',
					success: res => {
						if(res.data.code == 1){
							uni.showToast({
								title:'操作成功'
							})
							_self.$refs.widthdrawalConditionPopup.close()
							_self.getWithdraralList()
						}
					},
				});
			},
			setcolorConfig(){
				this.publicTextColor = uni.getStorageSync("diyColor")
				this.publicimg = uni.getStorageSync("diyImg")
				this.appConfig = uni.getStorageSync("appconfig")
			},
			backClick(){
				uni.navigateBack({
					
				})
			}
		}
	}
</script>

<style lang="scss">
	.start-luttery-index{
		width: 100%;
		z-index: 1;
		display: flex;
		align-items: center;
		flex-direction: column;
		margin-top: 50upx;
		z-index: 1;
		.input-key{
			width: 630upx;
			height: 80upx;
			text-align: center;
			border-radius: 20upx;
			margin-bottom: 38upx;
		}
		.file-Insufficient-no-image-css{
			width: 235upx;
			height: 214upx;
			margin-bottom: 87upx;
		}
		.file-key-image-css{
			width: 149upx;
			height: 266upx;
			margin-bottom: 61upx;
		}
		.file-Condition-no-image-css{
			width: 367upx;
			height: 246upx;
			margin-bottom: 71upx;
		}
		.get-opportunity-file{
			margin-bottom: 116upx;
		}
		.get-opportunity{
			display: flex;
			align-items: center;
			margin-bottom: 126upx;
			image{
				width: 16upx;
				height: 27upx;
				margin-left: 15upx;
			}
		}
		.start-top-text{
			margin-bottom: 30upx;
		}
		.notice-btn-list{
			display: flex;
			align-items: center;
			margin-bottom: 50upx;
			.btn-item-margin{
				margin-right: 30upx;
				font-weight: 300;
			}
			.btn-item1{
				width: 300upx;
				height: 80upx;
				display: flex;
				align-items: center;
				justify-content: center;
				position: relative;
				border-radius: 20upx;
				z-index: 1;
				.btn-item1-css{
					position: absolute;
					top: 0;
					left: 0;
					width: 100%;
					height: 100%;
					z-index: 0;
				}
				.btn-text{
					z-index: 1;
				}
			}
		}
	}
	.success-popup{
		display: flex;
		align-items: center;
		flex-direction: column;
		width: 100%;
		box-sizing: border-box;
		padding-top: 50upx;
		z-index: 1;
		.start-top-text{
			margin-bottom: 30upx;
		}
		.tip-text{
			margin-bottom: 156upx;
		}
		.success-image-css{
			width: 310upx;
			height: 299upx;
			margin-bottom: 118upx;
		}
	}
	.postbtn{
		width: 690rpx;
		height: 80rpx;
		display: flex;
		align-items: center;
		justify-content: center;
		position: relative;
		border-radius: 10upx;
	}
	.loadexchagepopup{
		display: flex;
		align-items: center;
		flex-direction: column;
		padding-bottom: 40rpx;
		border-radius: 15rpx;
		position: relative;
		width: 690rpx;
		.inputclass{
			border-radius: 14rpx;
			padding: 10rpx 20rpx;
			box-sizing: border-box;
			height: 64rpx;
			width: 600rpx;
			border: 1rpx solid;
		}
		.uploadqr{
			width: 240rpx;
			height: 240rpx;
			margin-bottom: 60rpx;
			margin-top: 60rpx;
			border-radius: 20rpx;
			border: 2rpx solid;
			box-sizing: border-box;
			padding: 10rpx;
		}
		.textrule{
			box-sizing: border-box;
			padding: 3rpx 56rpx 46rpx 51rpx;
			height: 500rpx;
		}
		.text1{
			text-align: center;
			line-height:45rpx;
		}
		.btnlist{
			display: flex;
			align-items: center;
			justify-content: space-between;
			margin-top: 45rpx;
			.btn{
				display: flex;
				align-items: center;
				justify-content: center;
				width: 350rpx;
				height: 60rpx;
				position: relative;
			}
		}
		.centerimage{
			width: 265rpx;
			height: 247rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			margin-bottom: 43rpx;
			position: relative;
			.exchangegoodsimage{
				width: 127rpx;
				height: 169rpx;
				background-color: #FFFFFF;
				z-index: 1;
			}
		}
		.exchagetop{
			position: relative;
			width: 690rpx;
			height: 80rpx;
			display: flex;
			justify-content: center;
			border-radius: 15rpx 15rpx 0 0;
			margin-bottom: 43rpx;
			.closepopup{
				position: absolute;
				right: 30rpx;
				top:30rpx;
				height: 31rpx;
				width: 31rpx;
			}
			.imagetop{
				position: absolute;
				top: 0;
				z-index: 0;
				height: 92rpx;
				width: 445rpx;
			}
		}
	}
	.moneylist{
		width: 690rpx;
		box-sizing: border-box;
		padding: 30rpx 0 30rpx 30rpx;
		display: flex;
		flex-direction: column;
		border-radius: 20rpx;
		margin-bottom: 44rpx;
		.itemindex{
			display: flex;
			flex-wrap: wrap;
			width: 100%;
			.itm1{
				position: relative;
				display: flex;
				align-items: center;
				justify-content: center;
				width: 305rpx;
				border-radius: 10rpx;
				border: 2rpx solid;
				box-sizing: border-box;
				padding-bottom: 36rpx;
				padding-top: 45rpx;
				margin: 0 20rpx 20rpx 0;
				flex-direction: column;
				text{
					margin-bottom: 10rpx;
				}
				.lefttop{
					position: absolute;
					left: 0;
					top: 0;
					width: 43rpx;
					height: 43rpx;
				}
			}
		}
		.moneytext{
			display: flex;
			align-items: center;
			width: 100%;
			justify-content: space-between;
			margin-bottom: 42rpx;
			box-sizing: border-box;
			padding-right: 30rpx;
		}
	}
	.listindex{
		width: 690rpx;
		box-sizing: border-box;
		padding: 30rpx;
		display: flex;
		flex-direction: column;
		border-radius: 20rpx;
		margin-bottom: 30rpx;
		.widthdrawalmethodindex{
			display: flex;
			align-items: center;
			height: 92upx;
			width: 332upx;
			.nextindex{
				display: flex;
				align-items: center;
				.next{
					width: 13rpx;
					height: 23rpx;
					margin-left: 19rpx;
				}
			}
			.itm1{
				position: relative;
				display: flex;
				align-items: center;
				justify-content: center;
				width: 332rpx;
				height: 92rpx;
				border-radius: 10rpx;
				border: 2rpx solid;
				.lefttop{
					position: absolute;
					left: 0;
					top: 0;
					width: 43rpx;
					height: 43rpx;
				}
				.wxicon{
					width: 53rpx;
					height: 53rpx;
					margin-right: 17rpx;
					border-radius: 50%;
				}
			}
		}
		.moneytext{
			display: flex;
			align-items: center;
			width: 100%;
			justify-content: space-between;
			margin-bottom: 42rpx;
		}
		.moneynumber{
			box-sizing: border-box;
			padding-bottom: 40rpx;
			width: 100%;
		}
		.withdrawalfunction{
			margin-top: 30rpx;
			margin-bottom: 30rpx;
		}
	}
	
	.publicpopup{
		display: flex;
		align-items: center;
		flex-direction: column;
		width: 690upx;
		box-sizing: border-box;
		position: relative;
		border-radius: 18upx;
		background: #FFFFFF;
		.popuptopimge{
			width: 361upx;
			height: 208upx;
			position: absolute;
			top: -135upx;
			z-index: 1;
		}
		.bg-height{
			height: 554upx;
		}
		.close-btn{
			z-index: 3;
			right: 75upx !important;
			top: 37upx !important;
		}
		.closeAssistant{
			width: 31upx;
			height: 31upx;
			position: absolute;
			top: 24upx;
			right: 24upx;
			z-index: 3;
		}
		.public-btn{
			display: flex;
			align-items: center;
			justify-content: center;
			width: 410upx;
			height: 80upx;
			position: relative;
			margin-bottom: 40upx;
			background-color: rgba(0,0,0,0);
			&::after{
				border: none;
				background: none;
			}
			.medium-btn-css{
				position: absolute;
				top: 0;
				left: 0;
				z-index: 0;
				width: 100%;
				height: 100%;
			}
			.btn-text{
				z-index: 1;
			}
		}
	}
	
	.content{
		min-height: 100vh;
		width: 750rpx;
		display: flex;
		flex-direction: column;
		align-items: center;
		box-sizing: border-box;
		padding: 30upx;
	}
	.topTitle{
		color: #FFFFFF;
		display: flex;
		align-items: center;
		height: 67rpx;
		justify-content: center;
		position: absolute;
		z-index: 10;
		width: 100%;
		.back{
			width: 20rpx;
			height: 31rpx;
			position: absolute;
			left: 31rpx;
		}
	}
</style>